import { request } from "@/utils/service"

/** 重置二级管理员密码 */
export function resetAdminPassword(username: string) {
  return request({
    url: `/admin/resetAdminPassword/${username}`,
    method: "put"
  })
}

/** 重置学员密码 */
export function resetStudentPassword(identityCardId: string) {
  return request({
    url: `/admin/resetStudentPassword/${identityCardId}`,
    method: "put"
  })
}
